
/*************************************************************************
;    Copyright (c) 2004-2010, fhbit                      
;    All rights reserved.                                                             
;     
;    file name : driver_uart.h
;    description: the header file of uart driver   
;
;    History     :
;   1.  created   : charles liu, 2010-02-26
;  2.  modefied : charles liu, 2011-11-17
;*************************************************************************/

#ifndef __DRIVER_UART_H
#define __DRIVER_UART_H

#include "typedef.h"
#include "Queue.h"
#include "Filter.h"

#define UART_BUFF_SIZE 120
typedef struct _UartDriver
{
	uint8 m_UartID;

	Filter	m_Filter;
	Queue	m_Queue;
	uint8 	m_QueueBuff[UART_BUFF_SIZE];
}UartDriver;

void UartDriver(UartDriver* pUartDriver, uint8 uartId);

#endif /*__DRIVER_UART_H*/
